package com.base.service.impl;

import com.base.mapper.voipmapper.ClassifyMapper;
import com.base.po.voip.Classify;
import com.base.service.ClassifyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service("classifyService")
public class ClassifyServiceImpl implements ClassifyService {

    @Autowired
    private ClassifyMapper classifyMapper;

    @Override
    public int deleteByPrimaryKey(String id) {
        return classifyMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Classify record) {
        return classifyMapper.insert(record);
    }

    @Override
    public int insertSelective(Classify record) {
        return classifyMapper.insertSelective(record);
    }

    @Override
    public Classify selectByPrimaryKey(String id) {
        return classifyMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Classify record) {
        return classifyMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Classify record) {
        return classifyMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<Classify> selectByAll(Classify record) {
        return classifyMapper.selectByAll(record);
    }
}
